package com.xo.common.constant;

/**
 * 数字常量类（0-9）
 * 用于统一管理代码中常用的数字常量，避免直接使用魔法数字
 */
public final class NumberConstant {

    /**
     * 私有构造方法，防止实例化
     */
    private NumberConstant() {
        throw new AssertionError("禁止实例化此类");
    }

    public static final Integer ZERO = 0;
    public static final Integer ONE = 1;
    public static final Integer TWO = 2;
    public static final Integer THREE = 3;
    public static final Integer FOUR = 4;
    public static final Integer FIVE = 5;
    public static final Integer SIX = 6;
    public static final Integer SEVEN = 7;
    public static final Integer EIGHT = 8;
    public static final Integer NINE = 9;

    // 可选：添加对应的int原生类型常量，根据项目需求选择使用
    public static final int INT_ZERO = 0;
    public static final int INT_ONE = 1;
    public static final int INT_TWO = 2;
    public static final int INT_THREE = 3;
    public static final int INT_FOUR = 4;
    public static final int INT_FIVE = 5;
    public static final int INT_SIX = 6;
    public static final int INT_SEVEN = 7;
    public static final int INT_EIGHT = 8;
    public static final int INT_NINE = 9;
}
